package com.taotao.mapper;

import com.taotao.pojo.Mainnav;
import com.taotao.pojo.MainnavExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MainnavMapper {
    int countByExample(MainnavExample example);

    int deleteByExample(MainnavExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Mainnav record);

    int insertSelective(Mainnav record);

    List<Mainnav> selectByExample(MainnavExample example);

    Mainnav selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Mainnav record, @Param("example") MainnavExample example);

    int updateByExample(@Param("record") Mainnav record, @Param("example") MainnavExample example);

    int updateByPrimaryKeySelective(Mainnav record);

    int updateByPrimaryKey(Mainnav record);
}